<?php
if(is_null(AuthComponent::user('user_id'))){
	echo $this->Html->link('Log in', '/users/login');
}
else {
?>
	<h1><?php echo AuthComponent::user('user_name') ?></h1>
	<?php
	echo $this->Html->link('Logout', '/users/logout');
}
?>
<ul>
	<li><?php echo $this->Html->link('Means', '/admin/means/index') ;?></li>
	<li><?php echo $this->Html->link('Menu', '/admin/menus/index');?></li>
	<li>Users</li>
	<li>Reports</li>
</ul>